package com.weir.myboot.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.weir.myboot.pojo.User;

@Mapper
public interface UserMapper {
	@Select("SELECT * From user WHERE uid = #{uid};")
	User findUserById(@Param("uid")int uid);
}
